package com.bbm.bbmanage.entity;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.extern.java.Log;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (HouseStar)表实体类
 *
 * @author lionkliu
 * @since 2024-03-24 14:32:06
 */
@SuppressWarnings("serial")
@Data
@TableName("house_star")
public class HouseStar implements Serializable{
    
    @TableId
    private Integer id;

    private Long userId;

    private Integer houseId;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
